package com.authine.cloudpivot.web.api.secondopen.service;

import com.authine.cloudpivot.web.api.secondopen.domain.AjaxResult;
import com.authine.cloudpivot.web.api.secondopen.domain.Cmppaybill;
import com.authine.cloudpivot.web.api.secondopen.domain.Sendresult;
import org.dom4j.DocumentException;

import java.io.UnsupportedEncodingException;

public interface NcInterfaceService {

    /**
     * 同步个人银行账户
     *
     */
    public void syncNcpsnData() throws UnsupportedEncodingException;

    /**
     * 同步供应商和银行账户信息
     *
     */
    public void syncNcsupData();

    /**
     * 同步企业银行账户信息
     *
     */
    public void syncNcorgaccountData();

    /**
     * 同步结算方式
     *
     */
    public void syncNcsettlingData();

    /**
     * 同步银行承兑汇票的票据信息
     *
     */
    public void syncNcexchangeData();


    /**
     * 银企直连
     *
     */
    public Sendresult pushNcFkjsDData(Cmppaybill cmppaybill) throws DocumentException;
}
